Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡️ chore: convert require to custom errors #338

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dawksh
Copy link

@dawksh dawksh commented Oct 28, 2022

Description

Describe the changes made in your pull request here.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Ran forge snapshot?
  • Ran npm run lint?
  • Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

@mihaic195
Copy link

Pragma version of solidity needs to be at least 0.8.4 for custom errors to work: https://blog.soliditylang.org/2021/04/21/custom-errors/

In your code, solidity version is set to >=0.8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants